package com.th.therp.service;
import com.th.therp.pojo.dto.UserDto;
import com.th.therp.pojo.dto.UpdateUserDto;
import com.th.therp.pojo.vo.LoginVo;
import com.th.therp.pojo.vo.UserVo;

import java.util.List;

public interface UserService {

    void register(UserDto userDto);

    LoginVo login(UserDto userDto);

    String findNameById(Long userId);

    void sendCode() throws Exception;

    void update(UpdateUserDto updateUserDto);

    List<UserVo> list();

    void delete(List<Integer> ids);
}
